package com.tjetc.domain;

import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Comment {
    /**
    * 评论
    */
    private Integer id;

    /**
    * 评论用户id
    */
    private Integer uid;

    /**
    * 内容
    */
    private String content;

    /**
    * 是否是二级评论,如果是二级评论,绑定某个评论的id
    */
    private Integer twolevelId;

    /**
    * 创建时间
    */
    private Date createTime;

    /**
    * 评论的博客id
    */
    private Integer bId;
}